<%@page import="com.zhangyj.entitis.User"%>
<%@page import="com.zhangyj.component.grid.HTMLTable"%>
<%@page import="com.zhangyj.component.ToolBar"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String contextPath = request.getContextPath();
	User user = (User) request.getAttribute("user");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/common/ui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/common/ui/themes/icon.css"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/common/jquery/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/common/ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/common/form.js"></script>
<script type="text/javascript">
function uf_save() {
	var form = document.forms["form1"];
	form.submit();
	
}
function uf_close(val) {
	Form.returnValue = "ok";
	self.close();
}
</script>
</head>
<body style="padding:0;margin: 0">
<div style="padding:1px;padding-left:5px;background:#efefef;">
		<a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-save" onclick="uf_save()">保存</a>
		<a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-save" onclick="uf_close()">关闭</a>
</div>
<form id="form1" name="form1" action="<%=contextPath %>/user/saveRole.do">
<input type="hidden" name="userid" value="<%=user.getId() %>">
<%
com.zhangyj.entitis.SystemParam systemParam = com.zhangyj.entitis.SystemParam.getSystemParam(request);
out.print(systemParam.toInput());
%>
<%
	HTMLTable ht = (HTMLTable) request.getAttribute("table");
	ht.println(out);
%> <input type="submit" /> <input type="reset" /></form>
</body>
</html>